﻿<Page x:Class="MainPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Main Page" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignWidth="314" d:DesignHeight="206" AllowDrop="True">

    <DockPanel>
        <StatusBar DockPanel.Dock="Bottom">
            <StatusBarItem>
                <TextBlock Name="txtStatus"></TextBlock>
            </StatusBarItem>
        </StatusBar>
        <Grid ShowGridLines="false">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="150"/>
                <ColumnDefinition Width="1"/>
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <FlowDocumentScrollViewer Grid.Row="0" Grid.Column="0" VerticalScrollBarVisibility="Auto" Width="200" AllowDrop="True">
                <FlowDocument>
                    <Paragraph>
                        <Button x:Name="btnIntroduction">Introduction</Button>
                        <LineBreak/>
                        <Button x:Name="btnConnection">Connection</Button>
                        <LineBreak/>
                        <Button x:Name="btnPhotos">Photos</Button>
                        <LineBreak/>
                        <Button x:Name="btnAlbums">Albums</Button>
                        <LineBreak/>
                        <Button x:Name="btnImageLoader">Image Loader</Button>
                        <LineBreak/>
                        <Button x:Name="btnSqlInspector">SQL Inspector</Button>
                        <LineBreak/>
                        <Button x:Name="btnLog">Log</Button>
                        <LineBreak/>
                        <Button x:Name="btnDatabaseTools">Database Tools</Button>
                        <LineBreak/>
                        <Button x:Name="btnOptions">Options</Button>
                        <LineBreak/>
                    </Paragraph>
                </FlowDocument>
            </FlowDocumentScrollViewer>
            <Line Grid.Row="0" Grid.Column="1" X1="5" Y1="0" X2="5" Y2="300" Stroke="BlueViolet" Stretch="Fill"/>
            <Frame Grid.Row="0" Grid.Column="2" Name="Frame1" Margin="10" AllowDrop="True" Padding="20"/>
        </Grid>
    </DockPanel>
</Page>
